package com.ice.work.moment.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @Description
 * @Author DELL
 * @Create 2019-01-08
 * @Since 1.0.0
 */
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.ice.work.moment.user.dao")
@EnableGlobalMethodSecurity(prePostEnabled = true)
@EnableTransactionManagement
public class MomentUserApplication {

    public static void main(String[] args) {
        SpringApplication.run(MomentUserApplication.class, args);
    }

}

